include "gererateXml.filter.nim"

#? stdtmpl(subsChar = '$', metaChar = '#')
#proc generateXML2(name, age: string): string =
#  result = ""
<xml>
  <name>$name</name>
  <age>$age</age>
</xml>

echo generateXML2("anthony", "20")